package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.util.Date;

/**
 * 新用户注册红包表 newpersonhongbao
 * 
 * @author chengenjiang
 * @date 2019-07-16
 */
public class Newpersonhongbao extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 新用户注册红包Id */
	private Integer newpersonhongbaoId;
	/** 最小金额 */
	private Double smallMoney;
	/** 最大金额 */
	private Double bigMoney;
	/** 最小积分 */
	private Integer smallJiFen;
	/** 最大积分 */
	private Integer bigJiFen;
	/** 创建时间 */
	private Date createTime;
	/** 修改时间 */
	private Date updateTime;
	/** 扩展字段 */
	private String attribute;
	/** 状态 */
	private Integer status;

	public void setNewpersonhongbaoId(Integer newpersonhongbaoId) 
	{
		this.newpersonhongbaoId = newpersonhongbaoId;
	}

	public Integer getNewpersonhongbaoId() 
	{
		return newpersonhongbaoId;
	}
	public void setSmallMoney(Double smallMoney) 
	{
		this.smallMoney = smallMoney;
	}

	public Double getSmallMoney() 
	{
		return smallMoney;
	}
	public void setBigMoney(Double bigMoney) 
	{
		this.bigMoney = bigMoney;
	}

	public Double getBigMoney() 
	{
		return bigMoney;
	}
	public void setSmallJiFen(Integer smallJiFen) 
	{
		this.smallJiFen = smallJiFen;
	}

	public Integer getSmallJiFen() 
	{
		return smallJiFen;
	}
	public void setBigJiFen(Integer bigJiFen) 
	{
		this.bigJiFen = bigJiFen;
	}

	public Integer getBigJiFen() 
	{
		return bigJiFen;
	}

	public void setAttribute(String attribute) 
	{
		this.attribute = attribute;
	}

	public String getAttribute() 
	{
		return attribute;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}
	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("newpersonhongbaoId", getNewpersonhongbaoId())
            .append("smallMoney", getSmallMoney())
            .append("bigMoney", getBigMoney())
            .append("smallJiFen", getSmallJiFen())
            .append("bigJiFen", getBigJiFen())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("attribute", getAttribute())
            .append("status", getStatus())
            .toString();
    }


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
